import { post, get } from "@/utils/request";

//商品删除
export function fetchDeleteGoods(params) {
  return post( `/goods/delete?id=${params.id}`);
}

//商品详情
export function fetchGoodsDetail(params) {
  return get( "/goods/query",params);
}

//商品保存
export function fetchSaveGoods(data) {
  return post( "/goods/save",data);
}
